package com.wisezone.workflow.dao;

import java.util.List;

import com.wisezone.common.dao.BaseDao;
import com.wisezone.workflow.bean.WfProcessDefinition;
import com.wisezone.workflow.exception.WfDaoException;

/**
 * 流程模版接口
 * 
 * @author tss 2009-09-05
 * 
 */
public interface WfProcessDefinitionDao extends BaseDao {

	/**
	 * 获得做大版本列表
	 * 
	 * @return
	 * @throws WfDaoException
	 */
	public List<WfProcessDefinition> getMaxVerList() throws WfDaoException;

	/**
	 * 根据流程标识获得最大版本号
	 * 
	 * @param key
	 * @return
	 * @throws WfDaoException
	 */
	public Integer getMaxVer(String key) throws WfDaoException;

}